package com.hl.sfzy.exception;

import com.hl.sfzy.constant.IErrorCode;

public class Asserts {

    private IErrorCode errorCode;
    
    public static void fail(String message){
        throw new ApiException(message);
    }

    public static void fail(IErrorCode errorCode) {
        throw new ApiException(errorCode);
    }
}
